package template_method_pattern;

/**
 * 模板方法测试
 *
 * @author wangzg13
 * @since 2022/8/5
 */
public class Client {
    public static void main(String[] args) {
        AbstractTemplate concreteA = new ConcreteA();
        concreteA.core();
        AbstractTemplate concreteB = new ConcreteB();
        concreteB.core();
    }

}
